TypeError
Python 2.4.4: /usr/bin/python
Thu Sep 9 06:15:18 2010

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, with the most recent first.

TypeError: unsubscriptable object

/usr/local/deployments/millipedia_prod/src/pages/history.py in populateDict(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8132e12c>)
   23                 if i[0][0] == 'r' :
   24                     right = 1
   25                 x = request.app.logic.millipedia.splitValue(i[1])
   26                 a.append({'right':right,'relation':i[0][2:],'other_item_name':x[0],'delta':x[1],'time':x[2],'author':x[3]})
   27         a.sort(key=lambda x : x['time'],reverse=True)
   28         request.dict.addSection('history',a)
   29         request.dict.setValue('title','%s | millipedia.org' % request.item_name)
a = [], a.append = <built-in method append of list object at 0x814da0ac>, right = 0, i = (u'l:', u'|1|2009-05-27T11:52:34Z,82.74.34.100\tMozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.28 Safari/530.5'), x = None
/usr/local/deployments/millipedia_prod/src/PageHandlerImpl.py in sendPageResponse(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8132e12c>)
   76         return self.expandTemplate(request,"%s.tmpl" % request.page)
   77 
   78     def sendPageResponse(self,request) :
   79         self.populateDict(request)
   80         self.sendHeader(request)
   81         request.req.write(self.genContent(request))
   82         self.sendFooter(request)
self = <history.PageHandler instance at 0x8124956c>, self.populateDict = <bound method PageHandler.populateDict of <history.PageHandler instance at 0x8124956c>>, request = <qad.RequestHandler object at 0x8132e12c>
/usr/local/deployments/millipedia_prod/src/PageHandlerImpl.py in sendResponse(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8132e12c>)
   97         self.beginResponse(request)
   98         if self.doPageLogic(request) :
   99             return
  100         self.sendPageResponse(request)
  101         self.endResponse(request)
  102 
  103     def genCacheName(self,request,s) :
self = <history.PageHandler instance at 0x8124956c>, self.sendPageResponse = <bound method PageHandler.sendPageResponse of <history.PageHandler instance at 0x8124956c>>, request = <qad.RequestHandler object at 0x8132e12c>
/usr/local/deployments/millipedia_prod/src/utils/qad.py in process(self=<qad.RequestHandler object at 0x8132e12c>, req=<jon_modpy.Request object at 0x81494b8c>)
  366         else :
  367             self.logFact('page',self.page)
  368             try :
  369                 pageModule.sendResponse(self)
  370             except :
  371                 exctype,value,tb = sys.exc_info()
  372                 info = (self.page,str(exctype),str(value),str(traceback.extract_tb(tb,3)))
pageModule = <history.PageHandler instance at 0x8124956c>, pageModule.sendResponse = <bound method PageHandler.sendResponse of <history.PageHandler instance at 0x8124956c>>, self = <qad.RequestHandler object at 0x8132e12c>
/usr/local/deployments/millipedia_prod/src/third/jon_modpy.py in process(self=<jon_modpy.Request object at 0x81494b8c>, modpy_req=<mp_request object at 0x8126ce64>)
  104       self.traceback()
  105     else:
  106       try:
  107         handler.process(self)
  108       except:
  109         handler.traceback(self)
  110     self.flush()
handler = <qad.RequestHandler object at 0x8132e12c>, handler.process = <bound method RequestHandler.process of <qad.RequestHandler object at 0x8132e12c>>, self = <jon_modpy.Request object at 0x81494b8c>